package com.hr.reactive.mono.demo;

import com.hr.reactive.common.Utils;

public class Main
{

    public static void main(String[] args) {
        var fileService=new FileServiceImpl();
        fileService.write("file.txt","sdsds")
                .subscribe(Utils.subscriber());
        fileService.read("file.txt").subscribe(Utils.subscriber());
        fileService.delete("file.txt").subscribe(Utils.subscriber());
    }
}
